﻿<%@ Control Language="C#" ClassName="LeftControl" %>
<%@ Register TagPrefix="LeftHomeIn" TagName="LeftHomeIn" Src="~/UserControls/LeftMain.ascx" %>

<script runat="server">
  protected void Page_Load(object sender, EventArgs e)
  {
    if (Page.IsPostBack == false)
    {
      //B2C_MALL_HOME ws = new B2C_MALL_HOME();
      ////暢銷排行榜：0
      //string jsonString = ws.B2C_MALL_getBoards("aaaa", HttpContext.Current.User.Identity.Name, "0");
      //JObject restoredObject = JsonConvert.DeserializeObject<JObject>(jsonString);
      //if (restoredObject != null)
      //{
      //  string Is_Valid = restoredObject["Is_Valid"].ToString();
      //  string msg = restoredObject["Msg"].ToString();

      //  if (Is_Valid == "Y")
      //  {
      //    dynamic dynObj = restoredObject["Prd_Ary"];
      //    ListView1.DataSource = dynObj;
      //    ListView1.DataBind();
      //  }
      //}
    }
  }
</script>
<LeftHomeIn:LeftHomeIn runat="server" ID="LeftHomeIn" />
<!--#Navigation-->
<%--<div class="quick-links">
  <table>
    <tr>
      <td><a href="javascript:favority('樂e購', 'http://mall.evaair.com')">
        <img src="~/Images/QuickLinks/Favorite.png" id="Favorite" alt="加到我的最愛" runat="server" />
        <span>加到我的最愛</span>
      </a></td>
      <td>
        <a href="~/SiteMap.aspx" runat="server" id="HyperLink1">
          <img src="~/Images/QuickLinks/SiteMap.png" id="SiteMap" alt="網站導覽" runat="server" />
          <span>網站導覽</span>
        </a>
      </td>
    </tr>
    <tr>
      <td>
        <a href="javascript:ShowMemberPopup('1');" id="MyAccount" runat="server">
          <img src="~/Images/QuickLinks/MyAccount.png" id="Img2" alt="我的樂e購帳戶" runat="server" />
          <span>我的樂e購帳戶</span>
        </a>
      </td>
      <td>
        <a href="~/Shopping/ShoppingInformation.aspx" runat="server" id="HyperLink3">
          <img src="~/Images/QuickLinks/Information.png" id="Information" alt="購物須知" runat="server" />
          <span>購物須知</span>
        </a>
      </td>
    </tr>
  </table>

</div>--%>
<!--#Quick-Links-->
<%--<div class="left-promotions">
  <div class="item JS-slider">
    <h5>暢銷排行榜</h5>
    <div class="image-container">
      <asp:ListView ID="ListView1" runat="server">
        <ItemTemplate>
          <a href='<%# Eval("B2C_CODE","~/Products/ProductDetail.aspx?B2C_CODE={0}") %>' runat="server">
            <img id="Img1" src='<%# Eval("IMAGE_PATH_M") %>' runat="server" />
            <div class="desc">
              <div class="desc-top">
                特價 $ <strong><%# Eval("ACT_PRICE") %></strong>
              </div>
            </div>
            <div class="release">
              <%# CommonUtil.GetNEWAndHOT(Eval("light_status").ToString()) %>
            </div>
          </a>
        </ItemTemplate>
      </asp:ListView>      
    </div>
  </div>
</div>--%>
<!--#Left-promotions-->
<%--<div class="new-products-nav">
  <h4>各館新品</h4>
  <ul>
    <li>
      <asp:HyperLink ID="HyperLink4" runat="server" NavigateUrl="~/Products/ProductsList.aspx?NewCatID=6">長榮獨家</asp:HyperLink></li>
    <li>
      <asp:HyperLink ID="HyperLink5" runat="server" NavigateUrl="~/Products/ProductsList.aspx?NewCatID=7">寰宇精品</asp:HyperLink></li>
    <li>
      <asp:HyperLink ID="HyperLink6" runat="server" NavigateUrl="~/Products/ProductsList.aspx?NewCatID=8">消費電子</asp:HyperLink></li>
    <li>
      <asp:HyperLink ID="HyperLink7" runat="server" NavigateUrl="~/Products/ProductsList.aspx?NewCatID=9">居家生活</asp:HyperLink></li>
    <li>
      <asp:HyperLink ID="HyperLink8" runat="server" NavigateUrl="~/Products/ProductsList.aspx?NewCatID=10">美容保健</asp:HyperLink></li>
    <li>
      <asp:HyperLink ID="HyperLink9" runat="server" NavigateUrl="~/Products/ProductsList.aspx?NewCatID=11">美食饗宴</asp:HyperLink></li>
    <li>
      <asp:HyperLink ID="HyperLink10" runat="server" NavigateUrl="~/Products/ProductsListMileages.aspx?NewCatID=12">哩上加禮</asp:HyperLink></li>
    <li>
      <asp:HyperLink ID="HyperLink11" runat="server" NavigateUrl="~/Products/ProductsList.aspx?NewCatID=13">優惠情報</asp:HyperLink></li>
  </ul>
</div>--%>


